package com.freesun.shop.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.freesun.shop.entity.Sku;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class ProdVo {
    @ApiModelProperty(value = "产品ID")
    @TableId(value = "prod_id", type = IdType.AUTO)
    private Long prodId;

    @ApiModelProperty(value = "商品名称")
    private String prodName;


    @ApiModelProperty(value = "现价")
    private BigDecimal price;

    @ApiModelProperty(value = "简要描述,卖点等")
    private String brief;

    @ApiModelProperty(value = "详细描述")
    private String content;


    @ApiModelProperty(value = "商品图片，以,分割")
    private String imgs;

    @ApiModelProperty(value = "主图")
    private String pic ;

    @ApiModelProperty(value = "主图")
    private List<SkuVo> skuList;
}
